<?php

namespace app\api\validate;
use think\Validate;
/**
* 设置模型
*/
class Feedback extends Validate{

	protected $rule = array(
		'content'      		=> 'require',
		'email'      	=> 'require',
		'user_id'      		=> 'require',
	);
	protected $message = array(
		'content.require'    		=> '反馈内容必须填写',
		'email.require'    	=> '邮箱必须填写',
		'user_id.require'    	=> '用户id必须填写',
	);
}